package com.server.meta;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Busline: sunguangzhu
 * Date: 13-8-9
 * Time: 上午10:36
 * To change this template use File | Settings | File Templates.
 */
public class ClassMeta {
    private String packageName;
    private String classCreateDate;
    private String classCreateTime;
    private String tableName;
    private String catalog;
    private String className;
    private String lowerClassName;
    private String baseClassName;
    private String createUser;
    private String createTime;
    private List<FieldMeta> fields;
    private Integer fieldSize;
    private String menuUI;
    private String comment;
    private String importPackage;
    private DatabaseCfgMeta databaseCfgMeta;

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getMenuUI() {
        return menuUI;
    }

    public void setMenuUI(String menuUI) {
        this.menuUI = menuUI;
    }

    public ClassMeta() {
        this.createUser = "sunguangzhu";
        this.createTime = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss").format(new Date());
    }

    public Integer getFieldSize() {
        return fieldSize;
    }

    public void setFieldSize(Integer fieldSize) {
        this.fieldSize = fieldSize;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {

        this.packageName = packageName;
    }

    public String getClassCreateDate() {
        return classCreateDate;
    }

    public void setClassCreateDate(String classCreateDate) {
        this.classCreateDate = classCreateDate;
    }

    public String getClassCreateTime() {
        return classCreateTime;
    }

    public void setClassCreateTime(String classCreateTime) {
        this.classCreateTime = classCreateTime;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getCatalog() {
        return catalog;
    }

    public void setCatalog(String catalog) {
        this.catalog = catalog;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getBaseClassName() {
        return baseClassName;
    }

    public void setBaseClassName(String baseClassName) {
        this.baseClassName = baseClassName;
    }

    public List<FieldMeta> getFields() {
        return fields;
    }

    public void setFields(List<FieldMeta> fields) {
        this.fields = fields;
    }

    public String getLowerClassName() {
        return lowerClassName;
    }

    public void setLowerClassName(String lowerClassName) {
        this.lowerClassName = lowerClassName;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public void setImportPackage(String importPackage) {
        this.importPackage = importPackage;
    }

    public String getImportPackage() {
        return importPackage;
    }

    public DatabaseCfgMeta getDatabaseCfgMeta() {
        return databaseCfgMeta;
    }

    public void setDatabaseCfgMeta(DatabaseCfgMeta databaseCfgMeta) {
        this.databaseCfgMeta = databaseCfgMeta;
    }
}

